Skip to content

Commit 95e879e

Browse files
committed
Merge pull request riseuplabs#89 from azul/bugfix/initial-wiki-tab
do not cache action_symbol - fixes #7815
2 parents 8078e25 + cf3b0e2 commit 95e879e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/controllers/common/application/url_identifiers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def action_string
153153
end
154154

155155
def action_symbol
156-
@action_symbol ||= if params[:action].present?
156+
if params[:action].present?
157157
params[:action].to_sym
158158
else
159159
nil

extensions/pages/wiki_page/test/integration/wiki_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def setup
1212
end
1313

1414
def test_writing_initial_version
15-
# assert_page_tab "Edit"
15+
assert_page_tab "Edit"
1616
content = update_wiki
1717
assert_content content
1818
assert_page_tab "Show"

0 commit comments

Comments
 (0)