kurenn / sabisu-rails

Simple and powerful engine for exploring your Rails api application
MIT License
127 stars 29 forks source link

Configure path #38

Open thspinto opened 8 years ago

thspinto commented 8 years ago

Hi,

I defined a path on my routes.rb as:

resources :me, :only => [:show, :update, :destroy], controller: 'users'

If I use the following on sabisu_rails.rb:

config.resources = [:me, :groups]

I get uninitialized constant error:

Showing /Users/thiago/.rvm/gems/ruby-2.3.0/bundler/gems/sabisu-rails-af7499e87912/app/views/sabisu_rails/explorer/index.html.erb where line #35 raised:

uninitialized constant Me

Is there a way to configure Sabisu to make that route work?