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



112
113
114
# File 'pages/app/controllers/refinery/pages_controller.rb', line 112

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