use _path in views, and scope to engine
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
module Merged
|
||||
class MergedController < ApplicationController
|
||||
# layout 'merged_layout'
|
||||
|
||||
class MergedController < ::ApplicationController
|
||||
before_action :authenticate_member!
|
||||
end
|
||||
end
|
||||
|
@ -14,7 +14,7 @@ module Merged
|
||||
@page.add_redirect
|
||||
@page.name = params[:name]
|
||||
@page.save
|
||||
redirect_to page_path(@page) , notice: "Page renamed"
|
||||
redirect_to page_url(@page) , notice: "Page renamed"
|
||||
end
|
||||
|
||||
def create
|
||||
|
Reference in New Issue
Block a user