fix bad path to stories_controller

This commit is contained in:
Carl Chenet 2016-11-15 17:14:37 +01:00
parent 516edc5038
commit 8def5c46da

View file

@ -9,7 +9,7 @@ class StoriesController < ApplicationController
before_filter :find_story!, :only => [ :suggest, :submit_suggestions ]
def create
@title = I18n.t 'controllers.home_controller.submitstorytitle'
@title = I18n.t 'controllers.stories_controller.submitstorytitle'
@cur_url = "/stories/new"
@story = Story.new(story_params)
@ -51,7 +51,7 @@ class StoriesController < ApplicationController
return redirect_to "/"
end
@title = I18n.t 'controllers.home_controller.submitstorytitle'
@title = I18n.t 'controllers.stories_controller.submitstorytitle'
if @story.merged_into_story
@story.merge_story_short_id = @story.merged_into_story.short_id
@ -67,7 +67,7 @@ class StoriesController < ApplicationController
end
def new
@title = I18n.t 'controllers.home_controller.submitstorytitle'
@title = I18n.t 'controllers.stories_controller.submitstorytitle'
@cur_url = "/stories/new"
@story = Story.new