Skip to content

Commit b6a8fc4

Browse files
committed
url_key is no longer a required field
1 parent 547030a commit b6a8fc4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Setup
99
-----
1010

1111
After installation the FAQ list is available at http://example.com/your-magento-path/faq.
12-
You can add a link to the FAQ module in any static block or page like this: `{{store direct_url="faq"}}.
12+
You can add a link to the FAQ module in any static block or page like this: `{{store direct_url="faq"}}`.
1313

1414
Features
1515
--------

src/app/code/community/Flagbit/Faq/Block/Adminhtml/Item/Edit/Tab/Main.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,13 @@ protected function _prepareForm()
122122
'name' => 'url_key',
123123
'label' => $this->helper('flagbit_faq')->__('URL Key'),
124124
'title' => $this->helper('flagbit_faq')->__('URL Key'),
125-
'required' => true,
125+
'required' => false,
126126
'comment' => $this->helper('flagbit_faq')->__('Note: Do not forget to create a rewrite for the old url if you change this!'),
127127
]);
128-
128+
129129
$form->setValues($model->getData());
130130
$this->setForm($form);
131-
131+
132132
return parent::_prepareForm();
133133
}
134134
}

0 commit comments

Comments
 (0)