Skip to content

Commit

Permalink
add custom columns
Browse files Browse the repository at this point in the history
  • Loading branch information
timcharper committed Aug 23, 2008
1 parent b600e29 commit fd0aab2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/controllers/albums_controller.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
class AlbumsController < ApplicationController
active_scaffold :albums
active_scaffold :albums do |config|
config.columns = [:name, :album_cover, :price]
end
end

0 comments on commit fd0aab2

Please sign in to comment.