This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Finished "EnableLogging" | |
Wrote response true "" | |
Received "Visit" | |
Started "Visit" | |
Load started | |
"Visit" started page load | |
Started request to "http://127.0.0.1:57733/store/signin" | |
Finished "Visit" | |
Started request to "http://127.0.0.1:57733/assets/application.js" | |
Received 200 from "http://127.0.0.1:57733/store/signin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Administration | |
class PartnersController < BaseController | |
respond_to :html | |
def index | |
authorize! :read, :partners | |
@partners = Partner.page(params[:page]) | |
respond_with @partners | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Partner | |
include Mongoid::Document | |
include Mongoid::Timestamps | |
field :contact_first_name | |
field :contact_last_name | |
end |
OlderNewer