Class: Refinery::PagesController::Finders::Show

Inherits:
Object
  • Object
show all
Defined in:
pages/app/controllers/refinery/pages_controller.rb

Class Method Summary collapse

Class Method Details

.call(params) ⇒ Object



109
110
111
# File 'pages/app/controllers/refinery/pages_controller.rb', line 109

def self.call(params)
  Refinery::Page.friendly.find_by_path_or_id params[:path], params[:id]
end